package com.auxgroup.smarthome.enterpriseapi.locations;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by kevinchen on 2017/3/25.
 */
public class LocationEnCnMaps {
    private Map<String,String> countryMap;
    private Map<String,String> regionMap;
    private Map<String,String> cityMap;

    public Map<String, String> getCountryMap() {
        return countryMap;
    }

    public Map<String, String> getRegionMap() {
        return regionMap;
    }

    public Map<String, String> getCityMap() {
        return cityMap;
    }

    public void putCountry(String en,String cn){
        if (countryMap == null){
            countryMap = new HashMap<>();
        }
        countryMap.put(en,cn);
    }

    public void putRegion(String en,String cn){
        if (regionMap == null){
            regionMap = new HashMap<>();
        }
        regionMap.put(en,cn);
    }

    public void putCity(String en,String cn){
        if (cityMap == null){
            cityMap = new HashMap<>();
        }
        cityMap.put(en,cn);
    }



}
